# Copyright (c) 2018 Presto Labs Pte. Ltd.
# Author: jaewon

import datetime
from coin.exchange.bitflyer_v1.order_gateway import BitflyerOrderGateway
from coin.strategy.mm.subscription import SubscriptionRequest
from coin.strategy.mm.base.order_subsystem import BaseOrderSubsystem


class BitflyerOrderSubsystem(BaseOrderSubsystem):
  OrderGateway = BitflyerOrderGateway
  OrderSubReq = SubscriptionRequest('Futures', 'Bitflyer', 'v1')
  _use_og_params = True
  _delay_notify_order_gateway_reset = datetime.timedelta(seconds=5)
